﻿

F = {};

F.id = 0;
F.getUniqueId = function(){
    return ++F.id;
}


//реализуем наслледование
var extend = (function () {
    function _f() {
    }

    return function (child, parent) {
        _f.prototype = parent.prototype;
        child.prototype = new _f();
        child.prototype.constructor = child;
        child.superclass = parent.prototype;
    }

} ());

